package com.rw.dao;

import com.rw.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author rabit
 */
public interface UserDao {

    @Select("select uid,uname,pwd from t_user where uname=#{uname} and pwd=#{pwd}")
    User login(@Param("uname") String uname, @Param("pwd") String pwd);

}
